package com.aaa.hospital.ManagementEnd.service.Impl;

import com.aaa.hospital.ManagementEnd.mapper.ExpenCalendDao;
import com.aaa.hospital.ManagementEnd.pojo.ExpenseCalendar;
import com.aaa.hospital.ManagementEnd.service.ExpenCalendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExpenCalendServiceImpl implements ExpenCalendService {

@Autowired
private ExpenCalendDao calendDao;



    @Override
    public boolean ecInsert(ExpenseCalendar excalend) {
        return calendDao.ecInsert(excalend);
    }

    @Override
    public boolean etInsert(ExpenseCalendar excalend) {
        return calendDao.etInsert(excalend);
    }

    @Override
    public List<ExpenseCalendar> ecQuery() {
        return calendDao.ecQuery();
    }

    @Override
    public List<ExpenseCalendar> etQuery() {
        return calendDao.etQuery();
    }

    @Override
    public List<ExpenseCalendar> eclistByid(Integer visid) {
        return calendDao.eclistByid(visid);
    }

    @Override
    public List<ExpenseCalendar> selectMProfit() {
        return calendDao.selectMProfit();
    }


    @Override
    public List<ExpenseCalendar> etlistByid(Integer visid) {
        return calendDao.etlistByid(visid);
    }
}
